package com.platform.service.impl;

import com.platform.dao.WxuserOrderGoodsDao;
import com.platform.entity.WxuserOrderGoodsEntity;
import com.platform.service.WxuserOrderGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service("wxuserOrderGoodsService")
public class WxuserOrderGoodsServiceImpl implements WxuserOrderGoodsService {
	@Autowired
	private WxuserOrderGoodsDao orderGoodsDao;
	
	@Override
	public WxuserOrderGoodsEntity queryObject(Integer id){
		return orderGoodsDao.queryObject(id);
	}
	
	@Override
	public List<WxuserOrderGoodsEntity> queryList(Map<String, Object> map){
		return orderGoodsDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return orderGoodsDao.queryTotal(map);
	}
	
	@Override
	public void save(WxuserOrderGoodsEntity orderGoods){
		orderGoodsDao.save(orderGoods);
	}
	
	@Override
	public void update(WxuserOrderGoodsEntity orderGoods){
		orderGoodsDao.update(orderGoods);
	}
	
	@Override
	public void delete(Integer id){
		orderGoodsDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		orderGoodsDao.deleteBatch(ids);
	}
	
}
